<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>经销商信息管理查询系统</title>
<link rel="stylesheet" type="text/css"
	href="../css/extcss/extgridselect.css" />
<link rel="stylesheet" type="text/css"
	href="../js/extjs3/resources/css/ext-all.css" />
<link rel="stylesheet" type="text/css" href="../css/extcss/ext_icon.css" />
<script type="text/javascript"
	src="../js/extjs3/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="../js/extjs3/ext-all.js"></script>
<script type="text/javascript" src="../js/extjs3/ext-basex.js"></script>
<script type="text/javascript" src="../js/extjs3/ext-lang-zh_CN.js"></script>
<script>
	Ext.BLANK_IMAGE_URL = '../js/extjs3/resources/images/default/s.gif';
	Ext.QuickTips.init();
	var host = 'http://' + window.location.host;
	Ext.util.CSS.swapStyleSheet("theme",
			"../js/extjs3/resources/css/xtheme-gray.css");
	/**
	 * 捕获ajax异常做重定向处理 登录超时
	 */
	Ext.Ajax.on('requestexception', function(conn, response, options) {
		if (response.status == '401') {
			setTimeout(function() {
				// 延时避免被failure回调函数中的aler覆盖
				top.Ext.MessageBox.alert('提示', '会话链接超时，请重新登录', function() {
					parent.location.href = host + '/design/account/init';
				});
			}, 200);
		}
	});
</script>
<script type="text/javascript" src="../js/utils/extutils.js"></script>
<script type="text/javascript" src="../js/apps/MainPage.js?_rd="+new Date().getTime()></script>
</head>
<body>
</body>
</html>